<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>WebRTC Device Info</title>
</head>
<body>
<h1>Media Devices Information</h1>
<div>
    <label>audio input device:</label>
    <select id="audioInput"></select>
</div>
<div>
    <label>audio output device:</label>
    <select id="audioOutput"></select>
</div>
<div>
    <label>video input device:</label>
    <select id="videoInput"></select>
</div>

<!-- 引入外部的 JavaScript 文件 -->
<script src="main2.js"></script>
</body>
</html>
